package com.guiguli.static01;

public class User01 {
    public static int onLineNumber=161;

    public User01() {
    }

    public User01(int onLineNumber) {
        this.onLineNumber = onLineNumber;
    }

    /**
     * 获取
     * @return onLineNumber
     */
    public static int getOnLineNumber() {
        return onLineNumber;
    }

    /**
     * 设置
     * @param onLineNumber
     */
    public static void setOnLineNumber(int onLineNumber) {
        User01.onLineNumber = onLineNumber;
    }

    public String toString() {
        return "User01{onLineNumber = " + onLineNumber + "}";
    }
}
